The phrase "official capacity" means that someone is acting or representing a position or role that has been officially assigned to them by an organization or authority. It implies that the person is acting in an official capacity rather than on a personal level.